<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022/1/27
  Time: 20:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户头像详情</title>
    <script src="js/jquery.min.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/manager_page/layui/css/layui.css" media="all">
    <script src="${pageContext.request.contextPath}/manager_page/layui/layui.js"></script>

    <style type="text/css">
        #user_head_img_div{
            position: absolute;
            width: fit-content;
            height: fit-content;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
    </style>
</head>
<body>
<input type="hidden" id="user_img_hidden" value=${param.user_img_hidden} >
<div id="user_head_img_div">
    <img id="user_head_img"  />
</div>
</body>
<script>
    var w=$(window).width()*0.85;
    var h=$(window).height()*0.85;
    $("#user_head_img").attr({
        "width":w,
        "height":h,
        "src":$("#user_img_hidden").val()
    })

</script>
</html>
